import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { AnnounceController } from "src/controller/announce.controller";
import { Announce } from "src/entity/announce.entity";
import { AnnounceService } from "src/service/announce.service";

@Module({
  imports: [TypeOrmModule.forFeature([Announce])],
  providers: [AnnounceService],
  controllers: [AnnounceController],
})
export class AnnounceModule {}
